<% @sections.each_with_index do |section,index| %>
  <%
  if params[:page].to_i == 0
    index = index + 1
  else
    index = index + 1 + (params[:page].to_i - 1)*$res_per_page_word
  end
%>
  <%=link_to index.to_s+"." + section.name,:controller => 'col', :action => 'show_al',:id => section.id,:sid=>my_sid,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:cn=>my_cn%>
  <%=  "<br/>" %>
<% end %>
<%= will_paginate @sections,:type => 'wml',:params => {:sid => my_sid,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:cn=>my_cn} %>
<% if @sections.total_pages > 1 %>
  <input type='text' format='*N' size='2' name='jp' />
  <anchor>
    跳页<go method='get' href='/col/channel_al'>
      <postfield name='jump_page' value='$(jp)'/>
      <postfield name='sid' value='<%= my_sid %>'/>
      <postfield name='id' value='<%= @sections[0].channel_id %>'/>
      <postfield name='total_pages' value='<%= @sections.total_pages %>'/>      
      <postfield name='page_for' value='<%= nil %>'/>
      <postfield name='go_page' value='<%= @go_page %>'/>
      <postfield name='img_style' value='<%= @img_style %>'/>
      <postfield name='pp_style' value='<%= @pp_style %>'/>
      <postfield name='pp_num' value='<%= @pp_num %>'/>
      <postfield name='cn' value='<%=my_cn%>'/>
    </go>
  </anchor>
  <br/>
  <%= page_entries_info @sections,:type => 'wml',:is_img => false %>
<% end %>